module Ext 
    class User
        attr_accessor :username, :passwd
        def initialize(username, passwd)
            @username = username
            @passwd  = passwd
        end
        def print
            puts "{username:=>#{username}, passwd=>#{passwd}"
        end

        def setUsername(username)
            @username = username
        end
    end
end
